package com.hskn.hss.module.tlopetation.service;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hskn.hss.entity.AjaxResult;
import com.hskn.hss.exception.HssException;
import com.hskn.hss.module.tlopetation.entity.TlOperation;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author hskn
 * @since 2021-05-15
 */
public interface ITlOperationService extends IService<TlOperation> {

    AjaxResult insert(JSONObject params) throws HssException;

    AjaxResult update(JSONObject params) throws HssException;

    AjaxResult deletebyid(JSONObject params) throws HssException;

    JSONObject getList(JSONObject params) throws HssException;

    TlOperation getDetail(JSONObject params) throws HssException;

    List getSelectList(JSONObject params);

    Map<String, TlOperation> getTlOperationMap(Wrapper<TlOperation> tlOperationQueryWrapper);

    List<TlOperation> selectList(Wrapper<TlOperation> tlOperationQueryWrapper);

    TlOperation selectOne(String id);
}
